<?php
class App_Work
{
    public function main($socket)
    {
        $receive = socket_read($socket, BUFFER_SIZE);
    	socket_write($socket, $receive);
    	socket_close($socket);
    }
}